package mn.idax.exchange.otc.mapper;

import mn.idax.exchange.otc.entity.OTCPayModeDetail;
import mn.idax.exchange.otc.entity.OTCPayModeDetailExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface OTCPayModeDetailMapper {
    int countByExample(OTCPayModeDetailExample example);

    int deleteByExample(OTCPayModeDetailExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OTCPayModeDetail record);

    int insertSelective(OTCPayModeDetail record);

    List<OTCPayModeDetail> selectByExampleWithRowbounds(OTCPayModeDetailExample example, RowBounds rowBounds);

    List<OTCPayModeDetail> selectByExample(OTCPayModeDetailExample example);

    OTCPayModeDetail selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OTCPayModeDetail record, @Param("example") OTCPayModeDetailExample example);

    int updateByExample(@Param("record") OTCPayModeDetail record, @Param("example") OTCPayModeDetailExample example);

    int updateByPrimaryKeySelective(OTCPayModeDetail record);

    int updateByPrimaryKey(OTCPayModeDetail record);
}